package com.iweb.user.model;

public class Seat {
    private int seatId;
    private int showId;
    private String category;
    private int rowNum;
    private int colNum;
    private String status; // <-- 修改类型为 String

    public Seat() {
    }

    public Seat(int seatId, int showId, String category, int rowNum, int colNum, String status) { // <-- 修改类型
        this.seatId = seatId;
        this.showId = showId;
        this.category = category;
        this.rowNum = rowNum;
        this.colNum = colNum;
        this.status = status;
    }

    public int getSeatId() {
        return seatId;
    }

    public void setSeatId(int seatId) {
        this.seatId = seatId;
    }

    public int getShowId() {
        return showId;
    }

    public void setShowId(int showId) {
        this.showId = showId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public int getRowNum() {
        return rowNum;
    }

    public void setRowNum(int rowNum) {
        this.rowNum = rowNum;
    }

    public int getColNum() {
        return colNum;
    }

    public void setColNum(int colNum) {
        this.colNum = colNum;
    }

    // --- 修改 Getter 和 Setter ---
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Seat{" +
                "seatId=" + seatId +
                ", showId=" + showId +
                ", category='" + category + '\'' +
                ", rowNum=" + rowNum +
                ", colNum=" + colNum +
                ", status='" + status + '\'' + // <-- 修改
                '}';
    }
}
